/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LianBao
 * Date: 2024-03-29
 * Time: 20:32
 */
public class Test {
    public static void main(String[] args) {
        myLinkedList<Integer> list = new myLinkedList<>();
        list.addLast(1);
        list.addLast(2);
        list.addLast(3);
        list.addLast(4);
        list.addIndex(2,99);

    }

    public static void main1(String[] args) {
        myLinkedList<String> list = new myLinkedList<>();
        list.addLast("l");
        list.addLast("l");
        list.addLast("l");
        list.addLast("i");
        list.addLast("l");
        list.addLast("n");
        list.addLast("l");
        list.addLast("l");
        list.addLast("l");
        System.out.println("================");
        list.removeAllKey("l");
        list.clear();
    }
}
